<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">

  <title>lable</title>
  <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
<div id="ds">
  <a v-on:click="nih">
    请点击此处
  </a>
</div>
</body>
<script>
  var onl=new Vue({
    el: "#ds",
    data: {},
    methods: {
      nih(){
        alert('单击事件')
      }
    }
  })
</script>
</html>